package com.zhouyx.redisactive.delaymsg;

import lombok.Data;

/**
 * @ClassName Route
 * @Description 消息路由器
 * @Author za-zhouyunxing
 * @Date 2018/8/6 19:46
 * @Version 1.0
 */
@Data
public class Route {

    /**
     * 存放消息的队列
     */
    private String queue;

    /**
     * 待消费的列表
     */
    private String list;

    public Route(String queue, String list) {
        this.queue = queue;
        this.list = list;
    }

}
